/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconEdit = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M960.42281 454.66278a41.549797 41.549797 0 0 1 41.624797 41.459798v374.998168c0 38.084814-11.999941 74.489636-33.989834 102.5395-25.289877 32.459842-61.034702 50.339754-100.499509 50.339754H168.00668c-38.699811 0-77.81962-16.949917-107.354476-46.499773C30.427351 947.305374 13.132436 908.545564 13.132436 871.120746V144.074297c0-39.164809 18.689909-76.229628 51.299749-101.684504a168.914175 168.914175 0 0 1 103.574495-35.024829h379.603146a41.609797 41.609797 0 0 1 0 83.204594H168.00668c-34.604831 0-71.68465 21.509895-71.68465 53.429739v727.06145c0 16.079921 8.414959 33.389837 23.054887 47.519768 14.32493 13.919932 32.504841 22.214892 48.629763 22.214891h699.491584c32.159843 0 51.359749-35.429827 51.359749-69.67466v-374.998168a41.579797 41.579797 0 0 1 41.564797-41.474798zM463.130239 547.737326a50.684753 50.684753 0 0 1 0-71.68465L924.332987 14.849927a50.684753 50.684753 0 0 1 71.68465 71.669651L534.754889 547.737326a50.684753 50.684753 0 0 1-71.68465 0z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconEdit.defaultProps = {
  size: 18,
};

IconEdit = React.memo ? React.memo(IconEdit) : IconEdit;

export default IconEdit;
